home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Hacking & Misc / bundle of exploits.sit / bundle of exploits / NFSproblems.txt < prev    next >
Text File  |  1998-07-17  |  1KB  |  48 lines

  1.    I don't know if this had been around or not, but my newly installed 
  2. Slackware 3.0.0 linux shows this behaviour:
  3.  
  4. ccarik /home/arikb>su -
  5. Password: 
  6. ccarik /root# cat /etc/exports 
  7. # See exports(5) for a description.
  8. # This file contains a list of all directories exported to other computers.
  9. # It is used by rpc.nfsd and rpc.mountd.
  10.  
  11. /home/arikb     ccarik(ro,root_squash)
  12.  
  13. ccarik /root# rpc.mountd ; rpc.nfsd 
  14. ccarik /root# mount ccarik:/home/arikb /mnt
  15. ccarik /root# cd /mnt
  16. ccarik /mnt# ls -al xxx
  17. -rwxrwxrwx   1 arikb    users          29 Apr  7 15:27 xxx*
  18. ccarik /mnt# cat > yyy
  19. yyy: Read-only file system.
  20. ccarik /mnt# cat .rhosts
  21. blabla
  22. blablabla2
  23. blablabla3
  24. ccarik /mnt# cat >> xxx
  25. blablabla4
  26. ccarik /mnt# cat xxx
  27. blabla
  28. blablabla2
  29. blablabla3
  30. blablabla4
  31. ccarik /mnt# 
  32.  
  33. This means also .rhosts exploits, small addition to system scripts, etc. 
  34. etc., while the sysamin believes his system is mounted only "read-only"...
  35.  
  36. Moving over to nfs-server-2.2beta4 solved this one.
  37.    
  38. --------------------------------------------- ....- --.. ----. -.. --. .
  39.             Arik Baratz, Regularus Studentus, iNTP, 4Z9DGE
  40. ---------------------------------------------------------------------------
  41.  
  42.   "Your conscious mind is very intelligent, and your unconscious mind
  43.      is a hell of a lot smarter than you are."
  44.                                                  - Erickson H. Milton
  45. http://ccarik.technion.ac.il/~arikb
  46.  
  47.  
  48.